package function;

/**
 * Sprungfunktion.
 *
 * @author 
 */
public class UnitStepFunction implements ScalarFunction1d {

    @Override
    public double getValue(double x) {
        if(x>0) return 1;
        else return 0;
    }
    
}
